
package com.xwyzsn.rentcar.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xwyzsn.rentcar.entity.Notice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {

    List<Notice> getAll();
    List<Notice> getOne(Integer id);
    Integer updateOne(Notice notice);
    Boolean deleteOne(Integer id);
    Boolean addOne(Notice notice);
}
